merged formatting and added accessots for user