created sessions-helper-method, fixed layout