When adding a new object the rotation is random When i add a new object Shift A in object mode or in edit mode the rotation is zeroed out like it should be but the rotation is random like 
X=78 Y=31 Z=100. It always disturbed me like about 3 months and could not find help on the web. 

And it happened when i changed accounts on my laptop and started using blender on another account the preferences were reseted, of course, but when i started adding objects the rotation was always random.

Please help!! If I had not told you detailed please tell me what you don't understand, thanks.

As well when adding windows and stuff with the Archimed Add on the rotation as well is random but on the side where is transform, rotation etc... The rotation is zeroed out but in the 3d port view it is rotated in all directions. Please help me and give me some advice to solve this problem/

Thanks,
Anton Pogromskyy
Open User Preferences (Ctrl+Alt+U)

In the Editing page go to the New Objects: Align To: Option.

Change it from View to World.