Controllable dissipative soliton and Q-switched pulse emission in a normal dispersion fiber laser using SESAM and cavity loss tuning mechanism