Create authenticate
refactory main bar for users authenticates